//
//  VersionModel.swift
//  LiteAccount
//
//  Created by 刘伟 on 2017/6/23.
//  Copyright © 2017年 刘伟. All rights reserved.
//

import Foundation

struct VersionModel {
    var version: String!
    var message: String!
    
    init() {
        self.version = "1.0"
        self.message = "轻账本第一版"
    }
    
    init(json: JSON) {
        self.version = json["version"].stringValue
        self.message = json["message"].stringValue
    }
    
}
